package com.guashu.liteflow.node;

import com.yomahub.liteflow.core.NodeSwitchComponent;
import org.springframework.stereotype.Component;

@Component("switch")
public class SwitchCmp extends NodeSwitchComponent {
    @Override
    public String processSwitch() {
        //do your business
        System.out.println("switch 组件执行。。。");
        return "b";
    }
}
